class Dog {
    constructor(name: string){
        this.name = name
    }
    name: string
    protected age: number = 21
}
const dog = new Dog('dog')

console.log(dog)

class Husky extends Dog{
    constructor(name:string, public color: string){
        super(name)
        this.color = color
    }
}